package com.fh.fruit.service.bill.impl;

import com.fh.dao.DaoSupport;
import com.fh.entity.Page;
import com.fh.fruit.service.bill.BillManager;
import com.fh.util.PageData;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author joe
 */
@Service("billManager")
public class BillService implements BillManager {
	
    @Resource(name = "daoSupport")
    private DaoSupport dao;

	@SuppressWarnings("unchecked")
	@Override
	public List<Map<String, Object>> listBill(Page page) throws Exception {
		return (List<Map<String, Object>>) dao.findForList("BillMapper.getBilllistPage", page);
	}

  
}
